<?php

namespace App\Providers;
use App\Services\WxDecryptDataService;
use Illuminate\Support\ServiceProvider;


class WxDecryptDataServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->singleton('WxDecrypter', function($app) {
            return new WxDecryptDataService();
        });
    }

    /**
     * Get the services provided by the provider.
     *
     * @return array
     */
    public function provides()
    {
        return ['WxDecrypter'];
    }
}
